package com.loto.insurance.oem.web.db.mapper;

import java.util.ArrayList;
import java.util.Map;

import com.loto.insurance.oem.web.entity.ProductInfo;

public interface ProductInfoMapper {

  ArrayList<ProductInfo> findAllProductByTypePager(Map<String, Object> params);

  long findAllProductByTypePagerCount(Map<String, Object> params);

  ProductInfo findProductById(Map<String, Object> params);

  ProductInfo findProductInfoById(Map<String, Object> params);

  long insertProduct(ProductInfo productInfo);

  int updateProduct(ProductInfo productInfo);

  int deleteProduct(long productId);
}
